import heapq
from numpy import argmin,argmax

def score(A,z):
    s = 0.0
    for i in A:
        s+=z[i]**2
    return s

def expand(x):
    x+=[x[argmax(x)]+1]

def pertubationSet(z,t):
    hp=[]
    heappush(hp,(score([0],z),[0]))
    
    for i in range(1,t):
        
    
